package cc.yugu.yhdw.common.protocol;

import cc.yugu.yhdw.common.tool.netty.Message;
import cc.yugu.yhdw.common.tool.netty.MessageFactory;

public class DefaultMessageFactory implements MessageFactory {

    @Override
    public Class<? extends Message> getClass(int msgCode) {
        return MsgCode.get(msgCode);
    }
}
